﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="MonkeyWarranty.Web.Products.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title>
        <%=Resources.GlobalStrings.Products %></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%=Resources.GlobalStrings.Edit %>
        <%=Resources.GlobalStrings.Products%></h2>
    <p>
    </p>
    <span class="failureNotification">
        <asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></span>
    <div style="min-width: 960px;">
        <fieldset class="register">
            <legend>
                <%=Resources.GlobalStrings.Products%></legend>
            <div style="float: left;margin-right: 50px;">
                <p>
                    <label>
                        <%=Resources.GlobalStrings.ProductGroups%>:</label>
                    <asp:DropDownList ID="ddlProductGroups" runat="server">
                    </asp:DropDownList>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.Manufacturers%>:</label>
                    <asp:DropDownList ID="ddlManufacturers" runat="server">
                    </asp:DropDownList>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.Code %>:</label>
                    <asp:TextBox ID="txtCode" runat="server" CssClass="textEntry code"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCode"
                        CssClass="failureNotification" ValidationGroup="AddNew">(*)</asp:RequiredFieldValidator>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.Name%>:</label>
                    <asp:TextBox ID="txtName" runat="server" CssClass="textEntry name"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName"
                        CssClass="failureNotification" ValidationGroup="AddNew">(*)</asp:RequiredFieldValidator>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.Measurement%>:</label>
                    <asp:TextBox ID="txtMeasurement" runat="server" CssClass="textEntry name"></asp:TextBox>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.Description%>:</label>
                    <asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" CssClass="textEntry description"></asp:TextBox>
                </p>
                <p>
                    <asp:CheckBox ID="chkWarranty" runat="server" /><%=Resources.GlobalStrings.IsWarranty%>
                </p>
                <p>
                    <asp:CheckBox ID="chkAccessary" runat="server" /><%=Resources.GlobalStrings.IsAccessary%>
                </p>
                <p>
                    <label>
                        <%=Resources.GlobalStrings.SortOrder%>:</label>
                    <asp:TextBox ID="txtSortOrder" runat="server" CssClass="textEntry sortorder"></asp:TextBox>
                </p>
                <p>
                    <asp:CheckBox ID="chkHidden" runat="server" /><%=Resources.GlobalStrings.Hidden%>
                </p>
            </div>
        </fieldset>
    </div>
    <p>
    </p>
    <div>
        <input id="btnCancel" type="button" value="<%=Resources.GlobalStrings.Cancel %>"
            class="submitButton" onclick="javascript:window.location='List.aspx';" />
        <asp:Button ID="btnSave" runat="server" Text="<%$ Resources:GlobalStrings, Save %>"
            CssClass="submitButton" ValidationGroup="AddNew" OnClick="btnSave_Click" />
    </div>
</asp:Content>
